package com.yunpeng.aidevice.common.vo;

import java.io.Serializable;

/**
 * RolePermissionVO 角色权限视图
 *
 * @author : Moore(hemw)
 * @date : 2020-04-15
 */
public class RolePermissionVO implements Serializable {

    /**
     * 角色代码
     */
    private String roleCode;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 权限代码
     */
    private String permissionCode;

    /**
     * 权限名称
     */
    private String permissionName;

    public RolePermissionVO(String roleCode, String roleName, String permissionCode, String permissionName) {
        this.roleCode = roleCode;
        this.roleName = roleName;
        this.permissionCode = permissionCode;
        this.permissionName = permissionName;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    @Override
    public String toString() {
        return "RolePermissionVO{" +
                "roleCode='" + roleCode + '\'' +
                ", roleName='" + roleName + '\'' +
                ", permissionCode='" + permissionCode + '\'' +
                ", permissionName='" + permissionName + '\'' +
                '}';
    }
}
